<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Office Automation - Toolkit</title>
            <script type="text/javascript">
            <!--
            function showDateTime(){
                if (!document.all)
                    return
                var Digital=new Date();
                var year=Digital.getYear();
                var month=Digital.getMonth()+1;
                var day=Digital.getDate();
                var hours=Digital.getHours();
                var minutes=Digital.getMinutes();
                var seconds=Digital.getSeconds();
                var dn="AM" 
                if (hours>12){
                    dn="PM";
                    hours=hours-12;
                    }
                if (hours==0)
                    hours=12;
                if (minutes<=9)
                    minutes="0"+minutes;
                if (seconds<=9)
                    seconds="0"+seconds;
                var ctime=year+"-"+month+"-"+day+" "+hours+":"+minutes+":"+seconds+" "+dn;
                dateTime.innerHTML=ctime;
                setTimeout("showDateTime()",1000);
            }
            window.onload=showDateTime
            //-->
            </script>
</head>
<body>
	<!--<div id="Toolkit">
	    <p><img alt="This is the user's icon." src="../showUserIcon.jsp?userName=<%= (String) session.getAttribute("userName") %>" /></p>
        <label id="dateTime"></label>
        <h2>Weather</h2>
        <h2>Calendar</h2>
    </div>-->
</body>
</html>